package com.xwj.service.Interface;

import com.xwj.entity.RaRoot;

import java.util.List;

/**
 * Created by thinkjoy on 2017/7/12.
 */
public interface RaRootService {
    List<RaRoot> findAllRoot();

    RaRoot findRootById(int id);

    List<RaRoot> findRootByIds(List ids);

    int addRoot(String name, String desc);

    int updateRootById(RaRoot raRoot);

    int deleteRootById(int id);
}
